Ext.define("MyApp.store.Settings", {

	extend:	"Ext.data.Store",
	requires: ["MyApp.model.Settings"],
	
	config: {
		
		model: "MyApp.model.Settings",
		//autoLoad: true,	
		proxy: {
			type: "ajax",
			url: "http://appt.elasticbeanstalk.com/getsettings.php",
			
			reader: {
				type: "json",
				rootProperty: "settings",
				totalProperty: "total"
			
			},
			extraParams: {
				id: "1"
			}
			
		
		}
		
	}
});